package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class Operation {
    @ApiModelProperty(name = "operationId",notes = "手术id")
    private Integer operationId;
    @ApiModelProperty(name = "operationName",notes = "手术名称")
    private String operationName;

    public Operation() {
    }

    public Operation(Integer operationId, String operationName) {
        this.operationId = operationId;
        this.operationName = operationName;
    }


    public Integer getOperationId() {
        return operationId;
    }


    public void setOperationId(Integer operationId) {
        this.operationId = operationId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column operation.operation_name
     *
     * @return the value of operation.operation_name
     *
     * @mbg.generated
     */
    public String getOperationName() {
        return operationName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column operation.operation_name
     *
     * @param operationName the value for operation.operation_name
     *
     * @mbg.generated
     */
    public void setOperationName(String operationName) {
        this.operationName = operationName == null ? null : operationName.trim();
    }
}
